<!--
 * @Author: your name
 * @Date: 2022-12-27 17:23:36
 * @LastEditTime: 2023-03-09 13:18:56
 * @LastEditors: DESKTOP-4QFD9PO
 * @Description: In User Settings Edit
 * @FilePath: \ClothMes\src\views\ProductionManagement\BasicData.vue
-->
<template>
  <div class="main-container">
    <div style="background-color: #fff; height: 100%" id="CheckDispatching">
      <a-tabs :lazy-load="true" type="card" @change="tabsChange" justify>
        <a-tab-pane title="调机标准参数" key="1">
          <div style="height: 100%">
            <AdjustmentParameters></AdjustmentParameters>
          </div>
        </a-tab-pane>
        <!-- <a-tab-pane title="调机类型定义" key="2">
            <div style="height: 100%;">
                <CommissioningTypeDefinition></CommissioningTypeDefinition>
            </div>
        </a-tab-pane> -->
        <a-tab-pane title="坯布疵点预防措施" key="3">
          <div style="height: 100%">
            <PreventiveMeasure></PreventiveMeasure>
          </div>
        </a-tab-pane>
        <a-tab-pane title="洗机标准天数" key="6">
          <div style="height: 100%">
            <StandardWashingDays></StandardWashingDays>
          </div>
        </a-tab-pane>
        <a-tab-pane title="交机点检项" key="4">
          <div style="height: 100%">
            <CheckItem></CheckItem>
          </div>
        </a-tab-pane>
        <a-tab-pane title="可完结条数" key="5">
          <div style="height: 100%">
            <TerminalNum></TerminalNum>
          </div>
        </a-tab-pane>
        <a-tab-pane title="布飞打印模板(新版)" key="2">
          <div style="height: 100%">
            <BoufeiMbVue1></BoufeiMbVue1>
          </div>
        </a-tab-pane>
      </a-tabs>
    </div>
  </div>
</template>

<script lang="ts">
  import { defineComponent, reactive, ref } from 'vue'

  import emitter from '@/hooks/useEventBus'
  import TerminalNum from '@/components/ProductionManagement/BasicData/TerminalNum.vue'
  import StandardWashingDays from '@/views/StandardWashingDays/index.vue'
  import BoufeiMbVue1 from '@/views/processrowfactory/BoufeiMb1.vue'
  export default defineComponent({
    name: 'CheckDispatching',
    components: { TerminalNum, StandardWashingDays, BoufeiMbVue1 },
    setup() {
      const pageData = reactive({
        tableIndex: '1',
      })
      const tabsChange = (e: string | number) => {
        emitter.emit('window-change')
      }
      return {
        pageData,
        tabsChange,
      }
    },
  })
</script>
<style scoped>
  .main-container {
    height: 100%;
  }

  :deep(.ag-cell) {
    border-right: 1px solid #dde2eb;
  }

  :deep(.ag-header-cell) {
    border-right: 1px solid #dde2eb;
  }

  :deep(.ag-cell-value) {
    user-select: initial;
    -moz-user-select: text;
    -ms-user-select: text;
    -webkit-user-select: text;
  }
</style>
